package com.wxzz.elearing.evaluation.service.openfeign;

import com.wxzz.elearing.evaluation.service.openfeign.sentinel.CurriculumApiFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "2125-wxzzlearn-course-application",fallback = CurriculumApiFeignImpl.class)
public interface ICurriculumApiFeign {

    @RequestMapping(value = "/curriculum-api/countByCourse", method = RequestMethod.POST)
    Integer countByCourse();
}
